package com.banana.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.banana.springcloud.entity.CommonResult;

import java.util.ArrayList;
import java.util.List;

/**
 * @author layman
 * @description: TODO
 * @date 2021/10/24
 */
public class CustomerBlockHandler {
    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "按客戶自定义,global handlerException----1");
    }


    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(4444, "按客戶自定义,global handlerException----2");
    }

}
